package db.nio;

/**
 * 数据包过滤器
 * Created by daibin on 10/26/16.
 */
public interface Filter<T> {

    /**
     * 过滤数据包
     * @param object
     * @return
     * @throws Exception
     */
    boolean filter(T object) throws Exception;
}
